package pay;

import o2o.dao.PO.common.ResultInfo;
import pay.dao.QueryResult;

// ----------------微信支付宝，第三方接口（国际版）
public class WxAliTriPayUtils {

    // 获取微信支付宝签名  originalMoney(没有汇率换算的金额)
    public static ResultInfo triGetPaySign(String orderNo, String payType, Double totalMoney, Double originalMoney) {
//        ResultInfo resultInfo = SynoPayUtils.getSign(payNo, totalMoney, "Alipay");
        ResultInfo resultInfo = null;

        return resultInfo;
    }

    // 获取小程序签名
    public static ResultInfo triGetXcxPaySign(String sysAppKey, String appFlag, String orderNo, Double totalMoney, Double originalMoney, String wxXcxOpenId) {
        ResultInfo resultInfo = null;
        return resultInfo;
    }

    // 查询支付
    public static QueryResult triQueryPay(Long agentId, String channel, Integer userType, String orderNo, String payOrderNo) {
        QueryResult queryResult = null;

        return queryResult;
    }

    // 退款
    public static ResultInfo triRefund(Long agentId, String channel, String orderNo, String fcOrderNo, String money, Double originalRefundMoney, String chargeId) {
        ResultInfo resultInfo = null;

        return resultInfo;
    }
}
